package com.uwlaser.service.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.sql.Timestamp;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

/**
* @author zk-Qin
* @date 2022-05-11
*/
@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class DeviceMainDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private Integer id;

    @ApiModelProperty(value = "设备编码")
    private String deviceCode;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "设备类别")
    private String deviceType;

    @ApiModelProperty(value = "设备型号")
    private String deviceModel;

    @ApiModelProperty(value = "产线编码")
    private String lineCode;

    @ApiModelProperty(value = "工段编码")
    private String sectionCode;

    @ApiModelProperty(value = "工位代码")
    private String stationCode;

    @ApiModelProperty(value = "是否接收工单")
    private String receiveOrder;

    @ApiModelProperty(value = "是否监控")
    private String monitor;

    @ApiModelProperty(value = "描述")
    private String remark;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "图片")
    private String picture;

    @ApiModelProperty(value = "序列号")
    private String serialNumber;

    @ApiModelProperty(value = "使用状态")
    private String useState;

    @ApiModelProperty(value = "负责人")
    private String responsibleUser;

    @ApiModelProperty(value = "品牌")
    private String brand;

    @ApiModelProperty(value = "设备等级")
    private String deviceGrade;

    @ApiModelProperty(value = "所属部门")
    private String department;

    @ApiModelProperty(value = "摆放位置")
    private String place;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "供应商")
    private String supplier;

    @ApiModelProperty(value = "购置日期")
    private String purchaseData;

    @ApiModelProperty(value = "保修期至")
    private String warrantyData;

    @ApiModelProperty(value = "启用日期")
    private String commissioningDate;

    @ApiModelProperty(value = "预计报废日期")
    private String expectedObsolescenceDate;

    @ApiModelProperty(value = "设备来源")
    private String deviceSource;

    @ApiModelProperty(value = "技术参数")
    private String technicalSpecification;

    @ApiModelProperty(value = "在线状态")
    private String isOnline;

    @ApiModelProperty(value = "运行状态")
    private String deviceStatus;

    @ApiModelProperty(value = "报警代码")
    private String alarmCode;

    @ApiModelProperty(value = "生产节拍")
    private BigDecimal meter;

    @ApiModelProperty(value = "是否计算oee")
    private String isOee;

}
